import { post, get } from '@/utils/request'
import domain from '@/utils/domain'

// 授权登录
export function auth(data) { return post({ url: domain.auth + '/auth', data }) }
// 检验是否授权
export function pass() { return get({ url: domain.auth + '/auth/pass' }) }
// 授权移除
export function remove() { return post({ url: domain.auth + '/auth/remove' }) }
